home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 13804 < prev    next >
Encoding:
Text File  |  1996-08-05  |  1.7 KB  |  36 lines

  1. Newsgroups: comp.object,comp.lang.eiffel,comp.lang.c++,comp.lang.beta,comp.lang.java,comp.lang.sather
  2. Path: newsfeed.acns.nwu.edu!ftpbox!mothost!schbbs!news
  3. From: shang@corp.mot.com (David L. Shang)
  4. Subject: Re: What Should An Exception Handling Do? -- Clarification of rules
  5. Reply-To: shang@corp.mot.com
  6. Organization: MOTOROLA 
  7. Date: Wed, 27 Mar 1996 13:37:41 GMT
  8. Message-ID: <1996Mar27.133741.18132@schbbs.mot.com>
  9. References: <31583400.4CF9@Salsa.WallData.com>
  10. Sender: news@schbbs.mot.com (SCHBBS News Account)
  11. Nntp-Posting-Host: 129.188.128.126
  12.  
  13. In article <31583400.4CF9@Salsa.WallData.com> Jerry Houston  
  14. <jhouston@Salsa.WallData.com> writes:
  15. > I agree with the comments you made (and I snipped out), but one point 
  16. > you didn't make in your reply was the location where execution resumes. 
  17. >  In the earlier quotation from ARM, "...from the throw point..." is the 
  18. > operative phrase.  I think there might be people here who otherwise 
  19. > would be agreeing with each other, that are instead arguing.
  20. > Resumption from the original invocation of a set of code that might 
  21. > throw an exception (from the try{} block) is considerably different from 
  22. > resumption from the point at which the error was detected.  I have used 
  23. > a method such as you described for so long, and with such complete 
  24. > success, that I can't imagine anyone's finding fault with it.
  25.  
  26. Thanks for your supplementation. Yes, resumption should be done from the
  27. from the original invocation, not from the the throw point. If we find
  28. that our way will not lead to success, we cannot continue in the same
  29. direction from the point we find the problem. Resumption is a retry, and
  30. we must return the original point and go in a different way. 
  31.  
  32. David Shang
  33.